package com.java110.mall.cart.bmo.businessQuery;

import com.alibaba.fastjson.JSONObject;
import com.java110.dto.storeOrder.StoreOrderCartReturnDto;

import java.util.List;

public interface IBusinessQueryRefund {
    /**
     * 根据退单订单ID查询
     * @param reqJson
     * @param searchValue
     * @param shopId
     * @param storeOrderCartReturnDtos
     */
    void queryRefundId(JSONObject reqJson, String searchValue, String shopId, List<StoreOrderCartReturnDto> storeOrderCartReturnDtos);

    /**
     * 根据订单ID查询
     * @param reqJson
     * @param cartId
     * @param shopId
     * @param storeOrderCartReturnDtos
     */
    void queryRefundByCardId(JSONObject reqJson, String cartId, String shopId, List<StoreOrderCartReturnDto> storeOrderCartReturnDtos);

    /**
     * 根据会员ID查询
     * @param reqJson
     * @param userId
     * @param shopId
     * @param storeOrderCartReturnDtos
     */
    void queryRefundByVip(JSONObject reqJson, String userId, String shopId, List<StoreOrderCartReturnDto> storeOrderCartReturnDtos);

    /**
     * 根据产品ID查询
     * @param reqJson
     * @param productId
     * @param shopId
     * @param storeOrderCartReturnDtos
     */
    void queryRefundByProduct(JSONObject reqJson, String productId, String shopId, List<StoreOrderCartReturnDto> storeOrderCartReturnDtos);
}
